﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CommonCRUD
{
    /// <summary>
    /// T是泛型。T必须是继承自BaseEntity的累
    /// </summary>
    /// <typeparam name="T"></typeparam>
    public class CommonCRUD <T> where T: BaseEntity
    {
        private MyContext ctx;
        public CommonCRUD(MyContext context)
        {
            this.ctx = context;
        }
    }

}
